﻿namespace ConsoleWeatherApp;



public class AppSetting
{
    public string ApiKey { get; set; } = string.Empty;
    public string CityCode { get; set; } = string.Empty;
}


public class WeatherResponse
{
    public string Status { get; set; } = string.Empty;
    public string Count { get; set; } = string.Empty;
    public string Info { get; set; } = string.Empty;

    public string InfoCode { get; set; } = string.Empty;

    public Live[] Lives { get; set; } = Array.Empty<Live>();
}


public class Live
{
    public string Province { get; set; } = string.Empty;
    public string City { get; set; } = string.Empty;
    public string AdCode { get; set; } = string.Empty;
    public string Weather { get; set; } = string.Empty;
    public string Temperature { get; set; } = string.Empty;
    public string WindDirection { get; set; } = string.Empty;
    public string WindPower { get; set; } = string.Empty;
    public string Humidity { get; set; } = string.Empty;
    public string ReportTime { get; set; } = string.Empty;
}

